
from django.contrib import admin
from django.urls import path,include
from course import views
from rest_framework.routers import SimpleRouter
router=SimpleRouter()
router.register('search',views.Search,basename='search')

urlpatterns = [
    path('homecate/',views.HomeCate.as_view()),
    # path('cate/', views.Cate.as_view()),
    path('homechile/', views.HomeChile.as_view()),
    path('parent/',views.ParetCate.as_view()),
    path('cate/', views.ChildCate.as_view()),
    path('list/', views.ListView.as_view()),

]
urlpatterns+=router.urls